Platform Explorer / Nuxeo Platform 6.0

Component org.nuxeo.ecm.platform.pageproviders.contrib

Contributions

XML Source

<?xml version="1.0"?>

<component name="org.nuxeo.ecm.platform.pageproviders.contrib">

  <extension target="org.nuxeo.ecm.platform.query.api.PageProviderService"
    point="providers">

    <coreQueryPageProvider name="search_media_all">
      <property name="maxResults">PAGE_SIZE</property>
      <pattern>
        SELECT * FROM Document WHERE ecm:primaryType = ?
      </pattern>
      <sort column="dc:title" ascending="true" />
      <pageSize>100</pageSize>
    </coreQueryPageProvider>

    <coreQueryPageProvider name="search_media_by_title">
      <property name="maxResults">PAGE_SIZE</property>
      <pattern>
        SELECT * FROM Document WHERE ecm:primaryType = ?
        AND ecm:fulltext LIKE ?
      </pattern>
      <sort column="dc:title" ascending="true" />
      <pageSize>100</pageSize>
    </coreQueryPageProvider>

    <genericPageProvider name="importFolders"
      class="org.nuxeo.ecm.webapp.provider.ImportFolderPageProvider">
      <pattern quoteParameters="false" escapeParameters="true">
        SELECT * FROM Document WHERE ecm:fulltext.dc:title LIKE '?' AND ecm:mixinType !=
        'HiddenInNavigation' AND ecm:mixinType = 'Folderish'
        AND ecm:currentLifeCycleState != 'deleted'
        AND SORTED_COLUMN IS NOT NULL
      </pattern>
      <sort column="dc:title" ascending="true" />
      <pageSize>10</pageSize>
    </genericPageProvider>

  </extension>
</component>